function DeviceSocket () {}
DeviceSocket.prototype = {
  id: 1,
  _socket: null,
  init () {
    this._socket = this._s = io()
    this.createRoom()
  },
  createRoom () {
    this._s.emit('create_room', {id: this.id})
  }
}